<?php

/**
 * Description of UserRegister
 *
 * @author    Mon Zafra <monzee at gmail>
 * @copyright (c)2009 Mon Zafra
 * @license   http://monzee.wordpress.com/license New BSD
 * @version   $Id: UserRegister.php 38 2009-02-18 17:12:39Z monzee $
 */
class Admin_Form_UserRegister extends Zend_Form
{
    public function init()
    {
        $this->setMethod('post')
            ->setDisableLoadDefaultDecorators(true)

            ->addElement('text', 'username', array(
                'label' => 'Username', 'class' => 'thick',))

            ->addElement('text', 'email', array(
                'label' => 'Email address', 'class' => 'thick'))

            ->addElement('password', 'password', array(
                'label' => 'Password', 'class' => 'text'))

            ->addElement('password', 'passwordConfirm', array(
                'label' => 'Confirm password', 'class' => 'text'))

            ->addElement('submit', 'create', array(
                'label' => 'Create user', ))
        ;
    }

}
